package com.jiuwu.spring.eshop.db.entity;


import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Data
@Table(name = "V_order_detail")
@NoArgsConstructor
public class VOrder {

    //SELECT     dbo.tb_order_detail.OrderID, dbo.tb_order_detail.GoodsID, dbo.tb_goods.GoodsName, dbo.tb_goods.GoodsPrice, dbo.tb_goods.Sold_total


    @Id
    @Column(name = "OrderID")
    private Integer orderId;

    @Column(name = "GoodsID")
    private Integer goodsId;

    @Column(name = "GoodsName")
    private String goodsName;

    @Column(name = "GoodsPrice")
    private float goodsPrice;





}
